import { request } from "@/utils/service"
// 后台内容管理
export function getContentList(data: any) {
  return request({
    url: "/bg/content/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateContent(data: any) {
  return request({
    url: "/bg/content/saveOrUpdate",
    method: "post",
    data
  })
}

//根据id删除
export function getContentById(data: any) {
    return request({
      url: "/bg/content/getById",
      method: "post",
      data
    })
}
